package CreationModel.SingletonModel;

/**
 * 静态内部类式单例
 * @author 王蕾 [wanglei_dev@cyou-inc.com]
 * @date 2017-11-28 10:06:00
 */
public class StaticInternalSingleton {

    private StaticInternalSingleton(){}

    private StaticInternalSingleton getInstacne(){
        return SingletonHolder.instacne;
    }
    private static class SingletonHolder{
        private static final StaticInternalSingleton instacne = new StaticInternalSingleton();
    }
}
